About Python Weekly

A free weekly newsletter featuring the best hand curated news, articles, new releases, tools and libraries, events etc related to Python.

The RSS's url is : http://us2.campaign-archive1.com/feed?u=e2e180baf855ac797ef407fc7&id=9e26887fc5

Please copy to your reader or subscribe it with :

Preview of RSS feed of Python Weekly

Python Weekly - Issue 650

2024-05-16 23:00:00

Python Weekly - Issue 650

View this email in your browser

Python Weekly

Welcome to issue 650 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
  Learn how you can containerize and run your GenAI application using Docker.

Articles, Tutorials and Talks

The Unit of Work Design Pattern Explained 
This video explains the Unit of Work design pattern, a crucial concept for anyone who regularly interacts with databases. This pattern plays a key role by accumulating all transactions and executing them collectively. But why is this necessary? Find out in this video.

Homoiconic Python
The article explores the concept of homoiconicity in programming languages, where code and data are interchangeable, as exemplified by Lisp. It presents a Python implementation of a subset of the "Lisp in Lisp" code, showcasing how Python can be made homoiconic by treating code as data structures that can be manipulated and executed.

A first attempt at DSPy Agents from scratch
This post is going to take a first pass at creating Agents from scratch, using DSPy. The goal here is education, and to explore how one might build agents from scratch in DSPy.

Abusing Conda's YAML comments that are actually Python expressions
my favorite build system, jinja-preprocessed-eval-preprocessed YAML.

Parsing PNG images in Mojo
The post details the author's experience implementing a PNG parser in the Mojo programming language. It covers challenges faced, such as handling unsigned 8-bit integers and converting bytes to strings, while exploring idiomatic ways to write Mojo code for this task.

Tezos Blockchain Developer Course – Python Web3 Development 
Learn how to develop distributed applications on Tezos, from setting up wallets to understanding and managing smart contracts effectively. The course covers various tools and techniques essential for Tezos developers and highlights the community-driven innovations that support the platform's growth. 

High Impact Python Streamlit: Beautiful Interactive Maps and Charts
A step by step modular approach with UNFAO global food insecurity data.

How to use Postgres as a simple task queue for Django 
Using Postgres as a task queue for Django is fast to add. There are other big advantages over the traditional approach (e.g., Celery and Redis).

An Intro to Logging with Python and Loguru
Python’s logging module isn’t the only way to create logs. There are several third-party packages you can use, too. One of the most popular is Loguru. Loguru intends to remove all the boilerplate you get with the Python logging API. You will find that Loguru greatly simplifies creating logs in Python.

Lessons learned reinventing the Python notebook
The article discusses the key principles and lessons learned while developing marimo, a new Python notebook environment. It emphasizes staying true to the project's core pillars of reproducibility, maintainability, and multi-purpose design, even when faced with feature requests that could compromise those principles.

Real-Time Brainwave Visualization: Integrating Muse EEG with Python

Django: Getting a full model instance from a Subquery


Interesting Projects, Tools and Libraries

storm
An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

Frame
Frame is a markdown language for creating state machines (automata) in Python as well as generating UML documentation.

Pipecat
Open Source framework for voice and multimodal conversational AI.

UXsim
Vehicular traffic flow simulator in road network, written in pure Python.

itrm
This library provides several functions for nicely printing data to the terminal. 

drf-api-action
drf-api-action elevates Django Rest Framework testing with the action_api fixture, simplifying REST endpoint testing to a seamless, function-like experience.

TimesFM
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

MindNLP
Easy-to-use and high-performance NLP and LLM framework based on MindSpore, compatible with models and datasets of Huggingface.

llmware
Providing enterprise-grade LLM-based development framework, tools, and fine-tuned models.


Upcoming Events and Webinars

Hybrid: PyMunich Meetup May 2024
There will be following talks
  • Become a Data Storyteller with Streamlit
  • Automated publishing of technical documentation (Git-to-Confluence)
  • Blending Perspectives: Crafting clean python code for diverse teams in today's projects

PyLadies Paris Meetup May 2024
There will be a talk, From ML model debugging to bot detection - The story of Sliceline.

Python Barcelona Meetup May 2024
There will be following talks
  • Using OpenCV in AI: Practical Image Processing in Python
  • cluster-experiments, a simulation library to design AB tests

BAyPIGgies Meetup May 2024
There will be following talks
  • Pandas & Pyspark for timeseries data processing from instrument data.
  • Developing Full Stack Python Web Apps with Reflex

PyData Berlin Meetup May 2024
There will be following talks
  • Beyond the Continuum: The Importance of Quantization in Deep Learning
  • A Meat-ing of Minds
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 649

2024-05-09 23:00:00

Python Weekly - Issue 649

View this email in your browser

Python Weekly

Welcome to issue 649 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
  Learn how you can containerize and run your GenAI application using Docker.

Articles, Tutorials and Talks

ByteWax: Rust's Research Meets Python's Practicalities 
Bytewax is a curious stream processing tool that blends a Python surface with a Rust core to produce something that’s in a similar vein to Kafka Streams or Apache Flink, but with a fundamentally different implementation. This week we’re going to take a look at what it does, how it works in theory, and how the marriage of Python and Rust works in practice.

How Python Asyncio Works: Recreating it from Scratch
Learn how asyncio works by recreating it from scratch with Python generators and using the __await__ under method for the async/await keywords.

A 100x speedup with unsafe Python
We're going to speed up some numpy code by 100x using "unsafe Python." Which is not quite the same as unsafe Rust, but it's a bit similar, and I'm not sure what else to call it... you'll see. It's not something you'd use in most Python code, but it's handy on occasion, and I think it shows "the nature of Python” from an interesting angle.

AsyncIO and the Event Loop Explained 
Over the years, I’ve produced several videos about AsyncIO. Today, however, I’m adopting a new approach where I explain the event loop in depth. I’ll delve deeper into asynchronous programming, focusing specifically on how the event loop operates behind the scenes.

How LLMs Work, Explained Without Math
A basic question I think a lot of people have about the GenAI revolution is where does the apparent intelligence these models have come from. In this article, I'm going to attempt to explain in simple terms and without using advanced math how generative text models work, to help you think about them as computer algorithms and not as magic.

Simple Interactive Python Streamlit Maps That Will Make You Shout
Data storytelling forest fire statistics from a NASA GIS data set.

Master Python & Zoom API | Build a Server-to-Server App That Transcribes Recordings 
Learn how to use Zoom's API with Python in this step-by-step guide! In this tutorial, you'll learn how to create a robust server-to-server OAuth application that automatically transcribes your Zoom recordings, prints them directly to your terminal, and saves them as text files. Perfect for developers, this tutorial will take you from setup to execution, so you'll have a fully functional application by the end of the video.

A High-Level Technical Overview of Fully Homomorphic Encryption
The article provides a high-level technical overview of fully homomorphic encryption (FHE), a powerful cryptographic technique that allows computations to be performed on encrypted data without decrypting it first. It discusses some of the key FHE libraries and tools under active development.

"Attention, Please!": A Visual Guide To The Attention Mechanism
Develop an intuition behind Attention: why it took over machine learning + LLMs and what it actually does.


Interesting Projects, Tools and Libraries

gpt-home
ChatGPT at home! Basically a better Google Nest Hub or Amazon Alexa home assistant. Built on the Raspberry Pi using the OpenAI API.

Logfire 
Uncomplicated Observability for Python and beyond!

PgQueuer
PgQueuer is a Python library leveraging PostgreSQL for efficient job queuing.

relax-py
A Python web development framework for htmx and tailwindcss, with hot module replacement, URL locators, dependency injection, supported by static typing, built on top of Starlette.

VILA
A multi-image visual language model with training, inference and evaluation recipe, deployable from cloud to edge (Jetson Orin and laptops).

prometheus-eval
Evaluate your LLM's response with Prometheus.

LlamaParse
LlamaParse is an API created by LlamaIndex to efficiently parse and represent files for efficient retrieval and context augmentation using LlamaIndex frameworks.

fastapi-cli
Run and manage FastAPI apps from the command line with FastAPI CLI. 

Bytewax
Bytewax is a Python framework that simplifies event and stream processing.

django-harlequin
Launch Harlequin, the SQL IDE for your Terminal, with your Django database configuration.

LeRobot
State-of-the-art Machine Learning for real-world robotics.

Panza
A personal email assistant, trained and running on-device.

DrEureka
Language Model Guided Sim-to-Real Transfer.

SATO
Stable Text-to-Motion Framework.


New Releases

pip 24.1 beta

Django bugfix releases issued: 5.0.6 and 4.2.13


Upcoming Events and Webinars

Django London Meetup May 2024
There will be following talks
  • Layered Django project structure for large-scale collaboration
  • Crabs in Snakes!

PyLadies Berlin Meetup May 2024
There will be following talks
  • The Nesting Doll Effect: Scope in Python
  • Revenue based scoring in `GridSearchCV`: a case for the new metadata routing in scikit-learn

PuPPy Meetup May 2024
There will be a talk, The Best Language to Write Python in is Rust.

PyBerlin Meetup May 2024
There will be following talks
  • Deploy your Data Project on the Web using only Python
  • Introducing magic-di: elevating Python with dependency injector

PyData Südwest Meetup May 2024
There will be following talks
  • Kickstart Coding at Scale: How Project Template Automation Unlocks Developer Productivity
  • Dask DataFrame is fast now
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 648

2024-05-02 23:00:00

Python Weekly - Issue 648

View this email in your browser

Python Weekly

Welcome to issue 648 of Python Weekly. Let's get straight to the links this week.
News

Fake job interviews target developers with new Python backdoor
A new campaign called "Dev Popper" is targeting software developers with fake job interviews in an attempt to trick them into installing a Python remote access trojan (RAT). The developers are asked to perform tasks supposedly related to the interview, like downloading and running code from GitHub, in an effort to make the entire process appear legitimate.


Articles, Tutorials and Talks

Mojo Lang - Tomorrow's High Performance Python? 
In this episode we explore why Mojo was created, and what it offers to Python programmers and non-Python programmers alike. How is it built for performance, and which performance features matter? What’s its take on functional programming and type systems? And can it marry the high-level programming of Python with the low-level programming of LLVM/MLIR?

Django: An admin extension to prevent state leaking between requests
Here’s a small protection I added to a project a few years ago. I was considering it again since I saw a similar potential bug in a Django middleware.

Local LLM-as-judge evaluation with lm-buddy, Prometheus and llamafile
This post examines how different software components came together to allow LLM-as-judge evaluation without the need for expensive GPUs. All the components were built with and chosen for their user control, open source nature, and interoperability.

How to Build a Crystal Image Search App with Vector Search
A demonstration of how to build an application to store and query data on crystals and precious stones using Astra DB. Built with RAGStack, this web app leverages the CLIP model to provide multi-modal search to retrieve data on all kinds of crystals.

Poor mans autoreload server in single file python on linux
The article describes a simple Python server that provides automatic browser page reload on content change, without requiring any additional setup or configuration. The server acts as a regular file server but also serves WebSocket messages over a specified path to trigger the page reload.

A Beginner’s Guide to Vector Embeddings
In this article, we’ll examine vector embeddings in depth, including the types of vector embeddings, how neural networks create them, how vector embeddings work, and how you can create embeddings for your data.  

How to prevent data leakage in pandas & scikit-learn 
What is data leakage, why is it problematic, and how can you prevent it when working on a supervised Machine Learning problem in Python?

Patching requests for fun and (concurrent) profit
Because life is too short to spam calls to SSL_CTX_load_verify_locations().

Sleepsort: Sorting while sleeping
The post introduces the "sleepsort" algorithm, a quirky sorting method that utilizes thread sleep times to sort integers in ascending order. It provides a playful yet insightful exploration of the algorithm's functionality and limitations.

Stream your voice clone
We'll turn your voice into an infinitely-scalable instrument with Django.

Asyncio Coroutine Object Methods in Python
We can define coroutine methods on custom Python objects. This allows methods on custom Python objects to use async/await syntax, such as awaiting other coroutines and tasks and allows the custom coroutine methods themselves to be awaited within our asyncio programs. In this tutorial, you will discover how to define object methods as coroutines.

TypeIs does what I thought TypeGuard would do in Python
The article discusses the differences between the TypeGuard and TypeIs type annotations in Python. It explains that TypeIs has more intuitive behavior compared to TypeGuard, especially when dealing with union types, and recommends using TypeIs over TypeGuard in most cases.


Interesting Projects, Tools and Libraries

WebLlama
Llama-3 agents that can browse the web by following instructions and talking to you.

LLaMA-Factory
Unify Efficient Fine-Tuning of 100+ LLMs.

tkforge
Drag & drop in Figma to create a Python GUI with ease.

TagStudio
A file and photo management application and system.

torchtitan
A native PyTorch Library for large model training.

LMDeploy
LMDeploy is a toolkit for compressing, deploying, and serving LLMs.

cohere-toolkit
Toolkit is a collection of prebuilt components enabling users to quickly build and deploy RAG applications.

Cognita
RAG (Retrieval Augmented Generation) Framework for building modular, open source applications for production by TrueFoundry

databonsai
Clean & curate your data with LLMs.

tach
A Python tool to enforce a modular, decoupled package architecture.


Upcoming Events and Webinars

Virtual: PyMNtos Python Presentation Night #125
There will be following talks
  • Using Python in Excel and Power BI
  • Deploy a Python API to the Cloud

PyData NYC Meetup May 2024
There will be following talks
  • Modular AI Systems with Feature, Training, Inference Pipelines on Hopsworks - a LLMOps Tutorial
  • Introduction to Modal

PyData London Meetup May 2024
There will be following talks
  • Microsoft Fabric for Python Data Developers
  • Desert Island Docker: Python Edition
  • Why You Should Be Afraid of Pickles
  • ASCII Art with Python 

PyData Manchester Meetup May 2024
There will be following talks
  • Using data science to get personal health insights from smart wearables
  • Has Python found its Mojo? A New language for ML and AI 

PyData Rome Meetup May 2024
There will be following talks
  • Computer Vision IRL: from the idea to the on-premise deployment
  • Geospatial Data Integration with Jupyter Notebook and OS software
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 647

2024-04-25 23:00:00

Python Weekly - Issue 647

View this email in your browser

Python Weekly

Welcome to issue 647 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.
Join For Free

Articles, Tutorials and Talks

Learn RAG From Scratch 
Learn how to implement RAG (Retrieval Augmented Generation) from scratch, straight from a LangChain software engineer. This Python course teaches you how to use RAG to combine your own custom data with the power of Large Language Models (LLMs).

Announcing py2wasm: A Python to Wasm compiler
py2wasm converts your Python programs to WebAssembly, running them at 3x faster speeds.

7 Mind-Blowing Kubernetes Hacks
Kubernetes harbors capabilities that even seasoned developers might not be fully aware of. These hacks delve into the more esoteric, yet incredibly potent tricks that can significantly empower those who master them. These are not your everyday tips but profound insights into making Kubernetes do amazing things.

Python Big O: the time complexities of different data structures in Python
This article is primarily meant to act as a Python time complexity cheat sheet for those who already understand what time complexity is and how the time complexity of an operation might affect your code. 

Django from first principles
Many people don't realize you can start a Django project with a single file. This series walks through the process of building a simple but non-trivial project by starting with a single file. The project only expands to additional files when it makes sense to move code out of the main file. By the end of the series, we'll have a project with a structure similar to what's generated by startproject and startapp.

Run Llama 3 locally using Ollama and LlamaEdge 
Meta has unveiled Llama3, and now you can run it locally using Ollama. In this video, I explain how to use Ollama to operate various language models, specifically focusing on Llama2 and Llama3. I'll also guide you through the WebUI for the project, demonstrating how to serve models with Ollama and interact with them using Python.

Django: Pinpoint upstream changes with Git
In this post, we’ll cover Django’s branching structure, determining and searching through those commits, a worked example, and advanced behavioural searching with git bisect.

Building a Voice Notes App with Django and OpenAI
We'll build a voice notes app that uses OpenAI to perform speech to text. As a bonus, we'll use AlpineJS to manage state on the frontend.

Build a Connect Four game with HTMX and Django in 8 minutes
By the end, you'll have built a multiplayer game using HTMX, using neat server-side logic and storing all results in your database. HTMX is a great way to use javascript without writing javascript.

Trace complex LLM applications with the Langfuse decorator (Python)
When building RAG or agents, lots of LLM calls and non-LLM inputs feeds into the final output. The Langfuse decorator allows you to trace and evaluate holistically.

Learn to use Websockets with Django by building your own ChatGPT
Everything you need to know about websockets to use them in your applications, with Django, channels, and HTMX.

I accidentally built a meme search engine
Or: how to learn about clip/siglip and vector encoding images.

Llama 3: Get building with LLMs in 5 minutes
Get started building transformative AI-powered features within 5 minutes using Llama 3, Ollama, and Python.


Interesting Projects, Tools and Libraries

CoreNet
A library for training deep neural networks by Apple.

Cria
Cria is a library for programmatically running Large Language Models through Python. Cria is built so you need as little configuration as possible — even with more advanced features.

bridge
Automatic infrastructure for Django.

Penzai
A JAX research toolkit for building, editing, and visualizing neural networks.

BeyondLLM
Build, evaluate and observe LLM apps.

Hashquery
A Python framework for defining and querying BI models in your data warehouse.

torchtune
A Native-PyTorch Library for LLM Fine-tuning.

InstructLab
Command-line interface. Use this to chat with the model or train the model (training consumes the taxonomy data)

Portr
Open source ngrok alternative designed for teams

anthropic-cookbook
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.


New Releases

llama3
This release includes model weights and starting code for pre-trained and instruction tuned Llama 3 language models — including sizes of 8B to 70B parameters.

PyTorch 2.3
PyTorch 2.3 offers support for user-defined Triton kernels in torch.compile, allowing for users to migrate their own Triton kernels from eager without experiencing performance regressions or graph breaks. Tensor Parallelism improves the experience for training Large Language Models using native PyTorch functions, which has been validated on training runs for 100B parameter models. As well, semi-structured sparsity implements semi-structured sparsity as a Tensor subclass, with observed speedups of up to 1.6 over dense matrix multiplication.


Upcoming Events and Webinars

PyData Amsterdam Meetup May 2024
There will be following talks
  • How Generative AI will bring Schiphol's customer care to new heights
  • Unleashing Samurai: How Albert Heijn is Making Content Retrieval Hassle-free for Employees

Hybrid: Michigan Python Meetup May 2024
There will be a talk, Accelerating Python Data Analysis with DuckDB.

PyData Seattle Meetup May 2024
There will be following talks
  • Introducing DBRX: A new SOTA open LLM by Databricks
  • Fidelius DBRXus: Build your own private Hogwarts
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 646

2024-04-11 23:00:00

Python Weekly - Issue 646

View this email in your browser

Python Weekly

Welcome to issue 646 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free

Articles, Tutorials and Talks

SQLAlchemy: The BEST SQL Database Library in Python 
Ever heard of SQLAlchemy and thought it sounded like a medieval potion? Well, it's not! SQLAlchemy combines the robustness of SQL with Python's flexibility, making database management not just easier, but kinda fun too! In this video, I’ll take a closer look at this awesome tool.

The Design Philosophy of Great Tables
The article discusses the importance of well-designed tables for effectively presenting data, drawing inspiration from historical tabular design principles. It highlights the Great Tables library's focus on providing various customization options to help users create visually appealing and structured tables for publications, reports, and other data-driven content

14 LLMs fought 314 Street Fighter matches. Here's who won
Explore a new benchmark for large language models beyond Q&A tasks. Discover how LLMs compete in Street Fighter III using Amazon Bedrock.

Client libraries are better when they have no API
The article discusses the author's approach to building a client library for the csvbase, focusing on leveraging existing file system abstraction libraries like fsspec to provide a seamless user experience without a custom API. It highlights the benefits of this approach, such as enabling integration with a wide range of tools and libraries that already support the fsspec interface.

Building a streaming ChatGPT clone, with Django, Channels, and HTMX 
This video walks you through the process of building a ChatGPT clone step-by-step using Django, websockets, and HTMX. Each piece of functionality is broken down into a single commit, then explained and demonstrated. By the end, a fully functional, streaming chatbot app is ready!

How to survive coding interviews with a single line of Python code
The article discusses techniques for solving coding interview questions using concise, single-line Python code.

Cosine Similarity and Text Embeddings In Python with OpenAI
The article discusses how to use cosine similarity to compare text embeddings, which are vector representations of text that capture semantic meaning, in order to determine the similarity between different text inputs. It provides example code for calculating cosine similarity between text embeddings generated using the OpenAI API.

7 examples in 6 minutes using Django GeneratedField 
We'll go over 7 short examples in 6 minutes. After looking at them, you'll know how to use Django's GeneratedField - doing calculations automatically with the database quickly and neatly.

Backtesting a Trading Strategy in Python With Datalore and AI Assistant
This article will you walk through the process of backtesting a daily Dow Jones mean reversion strategy using Python in Datalore notebooks. To make it accessible even for those with limited coding experience, the author leverages Datalore's AI Assistant capabilities.

Predicting solar eclipses with Python
The article describes how the author was able to write a Python script to compute the position of the sun and moon and predict the location of total solar eclipses, leveraging the Astropy library and other Python packages, all in around 100 lines of code. 


Interesting Projects, Tools and Libraries

AutoCodeRover
A project structure aware autonomous software engineer aiming for autonomous program improvement.

FreeAskInternet
FreeAskInternet is a completely free, private and locally running search aggregator & answer generate using LLM, without GPU needed. The user can ask a question and the system will make a multi engine search and combine the search result to the ChatGPT3.5 LLM and generate the answer based on search results.

Loki
An Open-source Tool for Fact Verification.

schedule_free
Schedule-Free Optimization in PyTorch.

Mantis
Mantis is a security framework that automates the workflow of discovery, reconnaissance, and vulnerability scanning.

open-parse
Improved file parsing for LLM’s.


New Releases

Python in Visual Studio Code – April 2024 Release
This release includes the following announcements:
  • Improved debug config flow for Flask and Django
  • Module and import analysis on Jupyter’s Run Dependent Cells with Pylance
  • Hatch environment discovery
  • Automatic environment selection for pipenv, pyenv, and Poetry projects
  • Report Issue command improvements

Python 3.11.9 is now available

Python 3.12.3 and 3.13.0a6 released


Upcoming Events and Webinars

Django London Meetup April 2024
There will be a talk, Data-Oriented Django Deux.

PyLadies London Meetup April 2024
There will be following talks
  • Semantic Search with Elasticsearch and Python
  • Recruiting at Elastic - Hints and Tips for Job Seekers
  • Efficient Python Project Setup: Showing Cookiecutter's Potential within Kedro 

Portland Python Meetup April 2024
There will be a talk, Generators and Iterators in Python.
 
PyData Southampton Meetup April 2024
There will be following talks
  • Desert Island Docker: Python Edition
  • Streaming DataFrames: A New Way to Process Streaming Data in Python

PyData Milano Meetup April 2024
There will be following talks
  • Swing Option Pricing in Energy market: A Dynamic Programming Approach
  • Explainable AI: opportunities and challenges

PyData Stockholm Meetup April 2024
There will be following talks
  • Data curation at scale for foundation model pre-training
  • Sana AI - How to build a consumer-grade enterprise product with Generative AI

PyData Manchester Meetup April 2024
There will be following talks
  • Tall Tales of Tabulation
  • The importance of open data and methods in Climate Value Analytic
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 645

2024-04-04 23:00:00

Python Weekly - Issue 645

View this email in your browser

Python Weekly

Welcome to issue 645 of Python Weekly. Let's get straight to the links this week.
News

Typosquatting Campaign Targets Python Developers
Phylum's automated risk detection platform identified a new typosquatting campaign targeting popular Python libraries on PyPI, with over 500 typosquat variations published so far. PyPI has promptly removed the malicious packages and temporarily suspended new project and account creations to prevent further fallout from this attack.


Articles, Tutorials and Talks

A little guide to building Large Language Models in 2024 
This is the first video of a 2 part series covering all the concepts to train a good performance LLM in 2024.

Why Do Python Lists Multiply Oddly? Exploring the CPython Source Code
A look at the internals of list implementation in CPython to understand this weird quirk about them.

Bringing Python to Workers using Pyodide and WebAssembly
The post discusses Cloudflare's implementation of Python Workers, focusing on their benefits and use cases for serverless computing. It explores how Python Workers enable developers to build and deploy lightweight, scalable applications efficiently on Cloudflare's network.

Make Python DevEx
The article discusses the challenges of setting up a productive Python development environment and how using Make can help alleviate these barriers by automating the preparation of the development environment and expediting the test-driven development cycle. The author provides an example project that demonstrates how to use Make to improve the Python developer experience across multiple codebases.

Enforcing conventions in Django projects with introspection
Some code and tips to combine Python and Django introspection APIs to enforce naming conventions in your Django models.

Building LLMs for Code Repair
The article discusses Replit's Code Repair feature, which automatically fixes common programming errors and issues in code. It explores how Code Repair helps developers save time and improve code quality by providing automated solutions to common coding problems.

Using breakpoints to explore your code
This post guides Python developers on effectively utilizing breakpoints to debug and explore code execution flow. It offers practical tips and examples to leverage breakpoints for better understanding and troubleshooting of Python code.

ASGI deployment options for Django
The article explores ASGI deployment options for Django applications, providing insights into deploying Django with ASGI servers.

Python 3.12 Generics in a Nutshell 
Generics in Python 3.12 can transform your code by allowing classes to be used with different data types, enhancing flexibility, and catching bugs early. This video dives into generic classes and subclasses and show you how they can streamline your development process.

Automating Python with Google Cloud
A tutorial series on how to automate a Python script in Google Cloud using Cloud Functions and/or Cloud Run. 

Can GPT Optimize My Taxes?
The post describes a web application that uses GPT-4 and the tenforty Python library to allow users to input tax scenarios and receive optimized tax calculations and recommendations. The application aims to provide a more flexible and personalized tax advisory experience compared to traditional tax software.

Python Project-Local Virtualenv Management Redux

How I manage Python in 2024


Interesting Projects, Tools and Libraries

SWE-agent
SWE-agent turns LMs (e.g. GPT-4) into software engineering agents that can fix bugs and issues in real GitHub repositories.

DBRX
Code examples and resources for DBRX, a large language model developed by Databricks.

thepipe
Export any file, folder, website, or repo into GPT-4-Vision with one line of code.

Sparrow
Data processing with ML and LLM.

Nava
Playing Sounds in Python.

IPEX-LLM
A PyTorch library for running LLM on Intel CPU and GPU (e.g., local PC with iGPU, discrete GPU such as Arc, Flex and Max) with very low latency.

RAGFlow
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.


New Releases

Django bugfix release issued: 5.0.4


Upcoming Events and Webinars

San Francisco Python Meetup April 2024
There will be following talks
  • Prompt engineering: for version 0.1 code - The path to quicker results
  • Strategies for quicker Pytest runs

PyData NYC Meetup April 2024
There will be following talks
  • Introduction to Time Series Forecasting
  • Time Series EDA with STUMPY

Pyladies Munich Meetup April 2024
There will be following talks
  • Observability: Principles & Application in Python
  • Seamless Cloud Infrastructure Management with Python
  • The Accountability Factor: How Peer Support Can Transform Your Learning Journey

Freiburg Python Meetup April 2024
There will be following talks
  • Event system - an evolution of the software at JobRad
  • Dockerizing Python applications and their security 

PyData Munich Meetup April 2024
There will be following talks
  • Accessing GPUs From Multiple Providers With dstack Sky
  • More Labels or Cases? Assessing Label Variation in Natural Language Inference
  • p(doom) - an Open, Entirely Decentralized, Global AI Research Lab
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 644

2024-03-28 23:00:00

Python Weekly - Issue 644

View this email in your browser

Python Weekly

Welcome to issue 644 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.
Join For Free

Articles, Tutorials and Talks

Designing a Pure Python Web Framework
This post explains how Reflex, a pure Python web framework, enables users to build web apps without the need to learn new languages. It details how Reflex works under the hood, highlighting its unique approach of compiling UI to JavaScript while keeping app logic and state management in Python on the server

Fixing a Bug in PyPy's Incremental GC
This post discusses how the author fixed a bug in PyPy's incremental garbage collector that was causing crashes in the AST rewriting phase of pytest on CI environments. It details the technical background on PyPy's incremental GC and the specific issues that were uncovered and resolved in the write barrier implementation.

A better Python cache for slow function calls
The article introduces a Python file cache that stores function values in files instead of memory, offering a more persistent caching solution. By using the file_cache decorator, developers can enhance performance by saving time running functions like LLM benchmarks and sharing the cache as a Python module.

Django: Write-up on optimizing the system check framework
The post discusses optimizations made to Django's system check framework, which had gained a reputation for being slow. The optimizations reduced the runtime of running checks on an example client project from 37ms to 18ms, a 50% reduction.

Python Poetry in 8 Minutes 
This video guides you through the ins and outs of managing Python virtual environments, while also introducing you to Poetry. You'll learn a host of tips and strategies to manage your projects with greater effectiveness and efficiency.

Fake-SMS: How Deep Does the Rabbit Hole Really Go?
Tracking a Bad Actor Through the Maze of Obfuscated Malware Code.

The wrong way to speed up your code with Numba
Numba can make your numeric code faster, but only if you use it right.

Unnecessary else statements
Let's talk about unnecessary else statements in Python.

Data Visualization in PostgreSQL With Apache Superset
Looking for data visualization tools for PostgreSQL? We discuss a few options and provide a step-by-step guide on PostgreSQL and Apache Superset.

Building a Django API for Mobile Developers 
A dive into the backend side of app development, focusing on building robust APIs with Django and Django Rest Framework.

Secure LLM Architecture - Testing LLM Guard 
The video explores LLM architectures, addressing security concerns and critiquing ineffective security tools. It introduces LLM Guard, an open-source tool aiming to enhance LLM security by checking inputs for malicious intent and outputs for sensitive data, demonstrated through practical examples and emphasizing the importance of output monitoring and permissions in safeguarding data.

The power of predicate pushdown
Predicate pushdown is one of the most important optimizations for a query engine. Read more about it in this article.

Distributed coroutines with a native Python extension and Dispatch
The article discusses how Distributed Coroutines, when paired with a distributed scheduler like Dispatch, can simplify the creation of scalable and reliable software by allowing functions to be suspended, serialized, and resumed in another process. It highlights how Distributed Coroutines leverage Python's native support for coroutines and async functions to encode dynamic workflows using regular programming language constructs and control flow.

AWS Lambda + Bedrock Tutorial 
Learn how to use AWS Lambda to invoke APIs from AWS Bedrock. This video is step by step using Python and boto3's Bedrock client to call the InvokeModel API. It also shows you how to set up your IAM Permissions and modify your Lambda Timeout values to deal with slow responses from Bedrock. 


Interesting Projects, Tools and Libraries

open-interpreter
A natural language interface for computers.

Devika
Agentic AI Software Engineer. Devika aims to be a competitive open-source alternative to Devin by Cognition AI.

T-Rex
Towards Generic Object Detection via Text-Visual Prompt Synergy.

OpenDevin
An open-source project aiming to replicate Devin, an autonomous AI software engineer who is capable of executing complex engineering tasks and collaborating actively with users on software development projects.

VoiceCraft
Zero-Shot Speech Editing and Text-to-Speech in the Wild.

lightning-thunder
Make PyTorch models Lightning fast! Thunder is a source to source compiler for PyTorch. It enables using different hardware executors at once.

reverser_ai
Provides automated reverse engineering assistance through the use of local large language models (LLMs) on consumer hardware.

Leaping
Leaping's pytest debugger is a simple, fast and lightweight debugger for Python tests. Leaping traces the execution of your code and allows you to retroactively inspect the state of your program at any time, using an LLM-based debugger with natural language.

Tracecat
The AI-native, open source alternative to Tines / Splunk SOAR. 

rag-search
RAG Search API.

FeatUp
A Model-Agnostic Framework for Features at Any Resolution.


Upcoming Events and Webinars

PyData London Meetup April 2024
There will be following talks
  • Building Retrieval Augmented Generation (RAG) powered applications
  • Getting python out of the way when taking ML models from research to production. A deep dive into the Open Neural Network Exchange (ONNX)

Michigan Python Meetup April 2024
There will be a talk, Spatial Data Visualization with GeoPandas.

PyData Amsterdam Meetup April 2024
There will be following talks
  • Fraud or no Fraud: sounds simple, right?
  • Building GenAI and ML systems with OSS Metaflow
 
PyData Tel Aviv Meetup April 2024
There will be following talks
  • To Bid, or not to Bid – Reinforcement Learning for Real Time Bidding
  • Securing LangChain Applications Against Prompt Injection Using Rebuff
  • Polars is the Pandas killer
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 643

2024-03-21 23:00:00

Python Weekly - Issue 643

View this email in your browser

Python Weekly

Welcome to issue 643 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks

How to use PostgreSQL for (military) geoanalytics tasks
This is a detailed guide on utilizing PostgreSQL for military geoanalytics tasks, emphasizing the importance of geospatial data processing in military operations. It covers methods for processing geospatial data, finding nearest objects, distance calculations, using geospatial indexes, determining points within polygons, and geospatial aggregation to enhance analytical capabilities in military contexts.

Every dunder method in Python
An explanation of all of Pytho's 100+ dunder methods and 50+ dunder attributes, including a summary of each one.

Lambda on hard mode: Inside Modal's web infrastructure
This post talks about how Modal handles real-time HTTP requests and WebSockets in serverless functions.

How to Test Asynchronous Code in Python 
Testing asynchronous code is tricky but essential for creating smooth, error-free, and reliable applications. So in this video, I'll guide you through the basics of testing asynchronous code effectively.

Introducing Pixi's Multiple Environments
The post introduces Pixi's Multiple Environments feature, allowing users to create tailored environments with specific sets of packages for different tasks like testing, development, or production. This enhancement in Pixi empowers users to customize their environments based on their project requirements, offering flexibility and efficiency in managing dependencies and tasks.

Diffusion models from scratch, from a new theoretical perspective
The article provides insights into interpreting and enhancing diffusion models using the Euclidean distance function, offering a detailed exploration of diffusion models and their applications. It focuses on improving diffusion models through gradient estimation, efficient sampling techniques, and visualizing the impact of momentum terms on text-to-image generation.

Building command-line applications in Python
Dive into a comprehensive guide on implementing command-line applications in Python. This tutorial uses the argparse module to explain how arguments, flags, and options work in a command-line application by building a BMI calculator app and implementing the Linux head command in Python.

Nextjs and Django Airbnb Clone 
Learn how to build a fullstack clone of Airbnb using technologies like Nextjs/React and Tailwind in the frontend, and Django with Django rest framework in the backend.

Make your Pandas or Polars DataFrames Interactive with ITables 2.0
ITables, or Interactive Tables, is a MIT-licensed Python package that renders Python DataFrames using the DataTables JavaScript library. ITables 2.0, that I have just released, adds support for the DataTables Extensions. In this post we review the functionalities brought by this release.

Cataloguing my vinyl collection with computer vision
The post  details the process of cataloguing a vinyl collection using computer vision, focusing on identifying unique vinyl records through a systematic approach. By leveraging computer vision technology and embedding techniques, the author shares insights into creating a system that accurately identifies and indexes vinyl records for efficient cataloging and organization.

AutoDev: Automated AI-Driven Development
The paper "AutoDev: Automated AI-Driven Development" presents an automated approach to AI-driven development, involving a collaborative effort by multiple authors. It explores the advancements in automated development processes driven by artificial intelligence, showcasing a comprehensive study on AutoDev

Parsing URLs in Python
The article delves into the complexities of parsing URLs in Python, highlighting the challenges and evolution of URL specifications over time. It emphasizes the importance of using the WHATWG URL specification as a reliable guide for handling URLs accurately in Python applications.

Jupyter & IPython terminology explained 
Understand the differences between Jupyter Notebook, JupyterLab, IPython, Colab, and other related terms.


Interesting Projects, Tools and Libraries

Grok-1
Grok open release.

Skyvern
Automate browser-based workflows with LLMs and Computer Vision.

MindGraph
Proof of concept prototype for generating and querying against an ever-expanding knowledge graph with AI.

Chronos
Pretrained (Language) Models for Probabilistic Time Series Forecasting.

LaVague
Automate automation with Large Action Model framework.

DarkGPT
DarkGPT is an artificial intelligence assistant based on GPT-4-200K designed to perform queries on leaked databases.

phospho
Text analytics for LLM apps. PostHog for prompts. Extract evaluations, intents and events from text messages. phospho leverages LLM (OpenAI, MistralAI, Ollama, etc.)

LLM4Decompile
Reverse Engineering: Decompiling Binary Code with Large Language Models.

sqlelf
Explore ELF objects through the power of SQL.

Magix
Supercharge huggingface transformers with model parallelism.


New Releases

Django REST framework 3.15

Python 3.10.14, 3.9.19, and 3.8.19 is now available


Upcoming Events and Webinars

Virtual: PyMunich Meetup March 2024
There will be following talks
  • An OS journey through Python async and threads
  • Clean architecture for serverless applications

Virtual: DragonPy Meetup March 2024
There will be following talks
  • Apache Arrow - Managing bytes for fun and profit
  • Self-hosting a Data Stack
  • SQL and Python: The Dynamic Duo of Data Warehousing

San Diego Python Meetup March 2024
There will be following talks
  • RWKV: The successor of transformers?
  • Using LangChain to build AI apps
  • Working with Apache Sedona in Cloudera Data Engineering

PyData Cyprus Meetup March 2024
There will be a talk, A Tour of Large Language Models.

PyData Montreal Meetup March 2024
There will be following talks
  • How Machine Learning Can Help Game Design
  • BigCode: Open and Responsible development of Large Language Models for code

PyData Bristol Meetup March 2024
There will be following talks
  • Silent Intrusion: How LLM Infiltrating Enterprises
  • Empowering Society with Data Science: A Rapid Deployment Strategy for Everyday Impact
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 642

2024-03-14 23:00:00

Python Weekly - Issue 642

View this email in your browser

Python Weekly

Welcome to issue 642 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free

News

DjangoCon US 2024 CFP
DjangoCon US 2024 CFP is now open. Submit your talk or tutorial proposal by April 24, 2024 at 12 PM EDT.


Articles, Tutorials and Talks

We Hacked Google A.I. for $50,000
This article discusses the author's experience of participating in a hacking event in Las Vegas where vulnerabilities were discovered, leading to the successful hacking of Google. Despite the initial achievement, the Google VRP team extended the competition deadline to encourage more creative findings, highlighting the ongoing challenges and opportunities in the realm of cybersecurity

Why You Should Use Pydantic in 2024 
In this updated Pydantic tutorial, I’ll cover all the new features and how they can benefit your projects. Despite Python's dynamic type system being user-friendly, it's not without its data handling issues. That's where Pydantic comes in, providing the essential structure and validation for seamless data management.

GGUF, the long way around
This is an article about GGUF, a file format used for machine learning models. It discusses what machine learning models are and how they are produced.

Python Gevent in practice: common pitfalls to keep in mind
Learn more about the common pitfalls of using the asynchronous Python library, Gevent, and how to resolve them in this article.

Speed up Django’s collectstatic command with Collectfasta
The post introduces Collectfasta, an updated fork of Collectfast designed to enhance the performance of Django's collectstatic command. By optimizing the repository and improving performance, Collectfasta offers faster execution and efficiency compared to the standard Django command, providing a valuable tool for developers seeking enhanced performance in their Django projects.

Create A Machine Learning Powered NCAA Bracket 
Dive into the fascinating world of machine learning and AI as we guide you through developing a model designed to predict NCAA tournament outcomes. From initial setup to final predictions, we’ll cover everything you need to create your own powerhouse model.

Sandboxing Python with Win32 App Isolation 
The post explores the challenges and benefits of sandboxing Python, particularly in scenarios like websites executing user code or preventing attacks on Large Language Models. Win32 App Isolation offers a unique approach to sandboxing Python at an application/OS level, creating a security boundary to prevent applications from compromising the operating system.

Using LLMs to Generate Fuzz Generators
The post explores the effectiveness of Large Language Models (LLMs) in generating fuzz drivers for library API fuzzing. It discusses the challenges and benefits of LLM-based fuzz driver generation, highlighting its practicality, strategies for complex API usage, and areas for improvement based on a comprehensive study and evaluation.

Guide to Time-Series Analysis in Python
A look at why Python is a great language for time-series analysis. Plus, tips for getting started today.

Large Language Models On-Device with MediaPipe and TensorFlow Lite
The article discusses the release of the experimental MediaPipe LLM Inference API, enabling Large Language Models (LLMs) to run fully on-device across platforms. This transformative capability addresses the significant memory and compute demands of LLMs, which are over a hundred times larger than traditional on-device models, achieved through optimizations like new ops, quantization, caching, and weight sharing.

Homebrew all the Python things

Insecurity and Python pickles

Understanding Context Manager and its Syntastic Sugar

Does Python have pointers?


Interesting Projects, Tools and Libraries

openllmetry
Open-source observability for your LLM application.

CBScript
CBScript is a transpiled language, designed by SethBling. This compiler will compile CBScript files into Minecraft datapack zip files. It has many higher level language features that don't exist at the Minecraft command level.

SQLMesh 
Efficient data transformation and modeling framework that is backwards compatible with dbt.

Dataverse
The Universe of Data. All about data, data science, and data engineering.

LlamaGym
Fine-tune LLM agents with online reinforcement learning.

chedule-texts-from-txt
Schedule iMessage or SMS texts from .txt files.

fructose
LLM calls as strongly-typed functions.

R2R
A framework for rapid development and deployment of production-ready RAG systems.

python-docstring-highlighter
Syntax highlighting for Python Docstring in VSCode.

Ludic
Lightweight framework for building HTML pages in pure Python.



New Releases

Python 3.13.0 alpha 5 is now available


Upcoming Events and Webinars

PyLadies London Meetup March 2024
There will be following talks
  • Navigating career path decisions
  • How Spotify personalises your search results with Machine Learning

Python Barcelona Meetup March 2024
There will be following talks
  • Python and Rust
  • Hands on Polars, an alternative to data frames leveraging in Rust

BayPIGgies Meetup March 2024 
There will be following talks
  • The Fun World of SRE
  • Better Together: Unleashing the Synergy of Pandas, Polars, and Apache Arrow
  • Mock It Till You Make It: How to Verify Your External Mocks Without Ever Leaving Unittest

PyData Stockholm Meetup March 2024 
There will be following talks
  • Fine-Tune Your Own Stable Diffusion Model - Tips and Tricks Included
  • AI Tools in Action: Enhancing Customer Experience with LLMs at Polestar

PyData Southampton Meetup March 2024 
There will be following talks
  • The Python Powered Modern Data Stack
  • Transformers Inside Out
  • Estimating cognitive workload using electroencephalography
  • Benchmarking Time-Series Databases

PyData Ireland Meetup March 2024
There will be a talk, Generative AI Enterprise Landscape - Past Present and Future.

PyData Paris Meetup March 2024
There will be following talks
  • Deploy your Data Project on the Web using only Python
  • Get the best from your scikit-learn classifier: trusted probabilities and optimal binary decision
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Python Weekly - Issue 641

2024-03-08 00:00:00

Python Weekly - Issue 641

View this email in your browser

Python Weekly

Welcome to issue 641 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free

Articles, Tutorials and Talks

Python Upgrade Playbook
In this post, we’ll cover how Lyft upgrades Python at scale — 1500+ repos spanning 150+ teams — and the latest iteration of the tools and strategy we’ve built to optimize both the overall time to upgrade and the work required from our engineers. We’ve successfully used (and evolved) this playbook over multiple upgrades, from Python 2 to Python 3.10.

Building an LLM fine-tuning Dataset 
The video shares insights on building a comprehensive dataset for AI model training using Reddit comments, highlighting challenges such as working with large datasets and filtering out low-quality comments. The creator discusses methods like loading, sorting, and filtering data to create training samples and models, emphasizing the abundance of comments available for analysis and the process of fine-tuning models for efficient training. Ultimately, they decide to use the llama 27b model and discuss plans for utilizing the 480 super GPU for faster fine-tuning and uploading datasets.

Better PC cooling with Python and Grafana
The article discusses improving PC cooling using Python and Grafana, focusing on finding the minimum and maximum fan speeds to optimize cooling performance by exploiting thermal mass and running fans at empirically derived speeds, resulting in enhanced cooling efficiency and reduced noise levels

Create a quiz app in 6 minutes with HTMX and Django
This guide shows you how to build a simple quiz application using Django and HTMX in 6 minutes. HTMX is great for creating dynamic web applications without writing JavaScript.

Multilingual Support In Django
The article delves into the complexities of implementing multilingual support in Django, exploring the challenges and processes involved in internationalization (i18n) and localization. It provides insights into how Django facilitates the translation of strings, the use of GNU gettext framework, and the overall framework for supporting multiple languages within Django projects.

Machine Learning in 2024 – Beginner's Course 
This machine learning course is created for beginners who are learning in 2024. The course begins with a Machine Learning Roadmap for 2024, emphasizing career paths and beginner-friendly theory. Then it the course moves on to hands-on practical applications and a comprehensive end-to-end project using Python.

Intro to DSPy: Goodbye Prompting, Hello Programming!
How the DSPy framework solves the fragility problem in LLM-based applications by replacing prompting with programming and compiling.

How fast can we process a CSV file
The article explores the speed of processing CSV files, highlighting the use of PyArrow to enhance CSV reading speed significantly. It compares different methods like pandas with C engine, pure Python looping, and pandas with PyArrow engine, showcasing the efficiency of PyArrow in processing CSV files faster and more effectively

Levels of Complexity: RAG Applications
This post is a comprehensive guide to understanding and implementing RAG applications across different levels of complexity. Whether you're a beginner eager to learn the basics or an experienced developer looking to deepen your expertise, you'll find valuable insights and practical knowledge to help you on your journey. Let's embark on this exciting exploration together and unlock the full potential of RAG applications.

Combining Rust and Python: The Best of Both Worlds? 
This video shows you how to seamlessly integrate Rust with Python using Pyo3. This library allows you to write Python modules with Rust. This means that we get the speed and safety of Rust along with Python's easy-to-use features!

Deploying Django Apps in Kubernetes
Learn you can optimize Django deployments seamlessly in a Kubernetes environment, whether you are a Django developer or a Kubernetes enthusiast.

Get started with conda environments
This post explains the benefits of virtual environments and how to use virtual environments in conda.

From Beeps to Toots: Reviving Pagers with Python and Mastodon
The article showcases a unique application of Python programming by connecting pagers with Mastodon, blending the reliability of pagers with modern social media interactions. It highlights the versatility of Python in bridging analog devices like pagers with digital platforms, demonstrating the enduring relevance of traditional communication methods in today's digital age.

Python environment management using JupyterLab Desktop CLI
The article discusses Python environment management using the JupyterLab Desktop CLI, which offers various commands and options to manage Python environments efficiently within the application. It covers setting up the JupyterLab Desktop CLI, creating new Python environments, and utilizing bundled environment installers or downloading packages from the registry to enhance the development process.

6 ways to improve the architecture of your Python project (using import-linter)
The article discusses six ways to enhance the architecture of Python projects, focusing on maintaining clear dependency relationships between packages and modules to avoid tangled inter-module dependencies. It addresses challenges like high architectural understanding costs for newcomers and reduced development efficiency due to difficulties in locating code within large projects.


Interesting Projects, Tools and Libraries

Hatchet
A Distributed, Fault-Tolerant Task Queue.

BlendSQL
Unified dialect for orchestrating SQLite logic and LLM reasoning.

django-admin-shellx
A Django Admin Web Shell using Xterm.js and Django Channels.

Bonito
A lightweight library for generating synthetic instruction tuning datasets for your data without GPT.

FastUI
Build better UIs faster.

Hancho
A simple pleasant build system in Python.

Cadwyn
Production-ready community-driven modern Stripe-like API versioning in FastAPI.

flect
A pure Python full-stack web apps framework inspired by Next.js.

pfl
Python framework for Private Federated Learning simulations.

EvalPlus
EvalPlus for rigourous evaluation of LLM-synthesized code.

polars_ds_extension
Polars extension for general data science use cases.


New Releases

Django security releases issued: 5.0.3, 4.2.11, and 3.2.25


Upcoming Events and Webinars

San Francisco Python Meetup March 2024
There will be following talks
  • Spreadsheet Does What?!?
  • Unstructured: an ETL for LLMs
  • Data Pipeline Scorecard
  • Helping Developers Help Themselves

Django London Meetup March 2024
There will be following talks
  • WASM-powered Django apps with PyScript
  • Navigating your job search in 2024

PuPPy Meetup March 2024
There will be following talks
  • Simulating the 3-Polarizer Experiment on a Quantum Computer
  • Why I love planning and you should too!
  • The Rising Sea

Virtual: PyMNtos Python Presentation Night #123
There will be following talks
  • Ideas for the Third Edition of "Introducing Python"
  • Multi-modal Image Search with CLIP

PyData NYC Meetup March 2024
There will be following talks
  • Building LLM Applications in Production
  • But, Did You Tune the Hyperparameters Enough?

PyData Johannesburg Meetup March 2024
There will be a talk, Demystifying Data Ingestion Challenges with Apache Nifi.

PyData Zurich Meetup March 2024
There will be a talk, The Versatility of Attention-Based Autoregressive Models.
 
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.